package main

import "fmt"

type Vertex2 struct {//MARK 0值的是{0.0}
	X, Y int
}

var v0 Vertex2//MARK {0 0}
var (
	v1 = Vertex2{}      //MARK {0 0}
	v2 = Vertex2{Y: 1}  //MARK  {0 1}
	v3 = Vertex2{1, 2}  
	p  = &Vertex2{1, 2} // MARK 得到一个指向值的指针 &{1 2}
)

func main() {
	fmt.Println(v0,v1, v2, v3,*p)
}
